package engine.collider.bounds;

import engine.collider.ContactPoint;

public abstract class BoundingElement {
	public static final float SPEED_MULTIPLY = 1 / 1000f;
	private double[] position;
	
	public BoundingElement() {
		position = new double[]{0, 0, 0};
	}
	
	public double[] getPosition() {
		return position;
	}
	
	public void setPosition(double x, double y, double z) {
		position[0] = x;
		position[1] = y;
		position[2] = z;
	}
	
	public abstract ContactPoint collide(double[] pos, double[] vec, BoundingElement collidingElement, double[] colliderPos, double[] colliderVec);
}
